<!DOCTYPE html>
<html lang="zh">
<head>
  <!-- 元数据 -->
  <meta charset="utf-8">
  <link rel="icon" href="/blog/images/favicon.ico">
  <title>YongKJ</title>
  <meta name="author" content="yongkj" />
  <meta http-equiv="Cache-Control" content="no-transform" />
  <meta http-equiv="Cache-Control" content="no-siteapp" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="robots" content="index,follow" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <meta name="format-detection" content="telphone=no, email=no" />
  
    <meta name="description" itemprop="description" content="Pursue excellence and success will follow." />
    <meta name="keywords" content="勇往直前,勇往直前kj,yongkj,YongKJ,个人,博客" />
  
  <meta name="description" content="Pursue excellence and success will follow.">
<meta property="og:type" content="website">
<meta property="og:title" content="YongKJ">
<meta property="og:url" content="https://yongkj.gitee.io/blog/index.html">
<meta property="og:site_name" content="YongKJ">
<meta property="og:description" content="Pursue excellence and success will follow.">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://yongkj.gitee.io/blog/blog/images/favicon.ico">
<meta property="article:author" content="yongkj">
<meta property="article:tag" content="勇往直前,勇往直前kj,yongkj,YongKJ,个人,博客">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://yongkj.gitee.io/blog/blog/images/favicon.ico">
<meta name="twitter:site" content="@Candiinya">
  <link rel="alternate" href="atom.xml" type="application/atom+xml">
  <!-- 站点验证相关 -->
  
    
    
    
  
  <!-- 样式表文件 -->
  <link rel="stylesheet" id="kratos-css" href="/blog/css/kratosr.min.css" type="text/css" media="all">
  <link rel="stylesheet" id="highlight-css" href="/blog/css/highlight.min.css" type="text/css" media="all">
  <link rel="stylesheet" id="fontawe-css" href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" type="text/css" media="all">
  <link rel="stylesheet" id="nprogress-css" href="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.min.css" type="text/css" media="all">
  
  
  
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.css">
  
  
    <link rel="stylesheet" id="darkmode-css" href="/blog/css/kr-dark.min.css" type="text/css" media="all">
  
  <!-- 不得不预先加载的一些JS文件 -->
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js"></script>
  
    <script src="https://cdn.jsdelivr.net/npm/qrcode_js@1.0.0/qrcode.min.js"></script>
  
  
<meta name="generator" content="Hexo 5.2.0"></head>


    <body class="custom-background">
        <div id="kratos-wrapper">
    <div id="kratos-page">
        <div id="kratos-header">
            <div class="nav-toggle"><a class="kratos-nav-toggle js-kratos-nav-toggle"><i></i></a></div>
            <header id="kratos-header-section">
                <div class="container">
                    <div class="nav-header">
                        <div class="color-logo"><a href="/blog/">YongKJ</a></div>
                        <nav id="kratos-menu-wrap">
                            <ul id="kratos-primary-menu" class="sf-menu">
                            
                            
                                <li><a href="/blog/"><i class="fa fa-home"></i>首页</a></li>
                            
                            
                            
                                <li><a href="/blog/archives/"><i class="fa fa-file"></i>档案馆</a></li>
                            
                            
                            
                                <li>
                                <a><i class="fa fa-link"></i>链接</a>
                                <ul class="sub-menu">
                                    
                                    
                                    
                                    
                                        <li><a target="_blank" rel="noopener" href="http://software.yongkj.cn/software/">软件俱乐部</a></li>
                                    
                                    
                                    
                                        <li><a target="_blank" rel="noopener" href="http://pocketyun.yongkj.cn/">袖珍网盘吧</a></li>
                                    
                                    
                                    
                                        <li><a target="_blank" rel="noopener" href="http://study.yongkj.cn/">英语随身学</a></li>
                                    
                                    
                                </ul>
                                </li>
                            
                            
                            
                                <li><a href="/blog/atom.xml"><i class="fa fa-rss"></i>RSS 订阅</a></li>
                            
                            
                            
                                <li><a href="/blog/about/"><i class="fa fa-paper-plane"></i>关于我</a></li>
                            
                            
                            </ul>
                        </nav>
                    </div>
                </div>
            </header>
        </div>
        <div class="kratos-start kratos-hero-2">
            <!-- <div class="kratos-overlay"></div> -->
            <div class="kratos-cover kratos-cover-2 text-center">
                <div class="desc desc2 animate-box">
                    <a href="/blog/"><h2>YongKJ</h2><br><span>勇往直前，永不言弃</span></a>
                </div>
            </div>
        </div>

        <div id="kratos-blog-post">
            <div class="container">
                    <div class="row">
                        
        <div id="main">
            
        <section class="col-md-8">
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/12/java-dynamic-proxy/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/12/java-dynamic-proxy/wallhaven-169776.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/12/java-dynamic-proxy/">动态代理</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            代理模式
为其他对象提供一个代理以控制对某个对象的访问。代理类主要负责为委托了（真实对象）预处理消息、过滤消息、传递消息给委托类，代理类不现实具体服务，而是利用委托类来完成服务，并将执行结果封装处理。
其实就是代理类为被代理类预处理消...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-12</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/java/" rel="tag">java</a>, <a class="tag-none-link" href="/blog/tags/%E4%BB%A3%E7%90%86/" rel="tag">代理</a>, <a class="tag-none-link" href="/blog/tags/%E5%AD%A6%E4%B9%A0/" rel="tag">学习</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/12/java-dynamic-proxy/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/12/java-constructor/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/12/java-constructor/paul-earle-xJ2tjuUHD9M.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/12/java-constructor/">构造器的注入与使用</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            注入带参数的构造函数
我们使用@Service注解一个service，默认注入的是不带参的构造函数，如果我们需要注入带参的构造函数，怎么办？


使用@Configuration+ @Bean注解来实现注入：

12345678@Co...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-12</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/java/" rel="tag">java</a>, <a class="tag-none-link" href="/blog/tags/%E5%AD%A6%E4%B9%A0/" rel="tag">学习</a>, <a class="tag-none-link" href="/blog/tags/%E6%9E%84%E9%80%A0/" rel="tag">构造</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/12/java-constructor/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/12/java-ioc-di/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/12/java-ioc-di/wallhaven-552042.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/12/java-ioc-di/">控制反转与依赖注入</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            依赖倒置原则
要了解控制反转( Inversion of Control ), 我觉得有必要先了解软件设计的一个重要思想：依赖倒置原则（Dependency Inversion Principle ）。


什么是依赖倒置原则？假设我...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-12</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E5%80%92%E7%BD%AE/" rel="tag">倒置</a>, <a class="tag-none-link" href="/blog/tags/%E5%AE%B9%E5%99%A8/" rel="tag">容器</a>, <a class="tag-none-link" href="/blog/tags/%E6%8E%A7%E5%88%B6/" rel="tag">控制</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/12/java-ioc-di/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/09/java-io-stream/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/09/java-io-stream/wallhaven-369362.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/09/java-io-stream/">输入输出流</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            基本概念
Java对数据的操作是通过流的方式，IO流用来处理设备之间的数据传输，上传文件和下载文件，Java用于操作流的对象都在IO包中。

IO流的分类
字节流
字节流基类

​      1）InputStream

InputS...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-09</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E4%BC%A0%E8%BE%93/" rel="tag">传输</a>, <a class="tag-none-link" href="/blog/tags/%E5%88%9B%E5%BB%BA/" rel="tag">创建</a>, <a class="tag-none-link" href="/blog/tags/%E8%AF%BB%E5%8F%96/" rel="tag">读取</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/09/java-io-stream/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/08/java-class-loading/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/08/java-class-loading/03478_sandycay_2880x1800.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/08/java-class-loading/">类加载</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            定义
当程序主动使用某个类时，如果该类还未被加载到内存中，则JVM会通过加载、连接、初始化3个步骤来对该类进行初始化。如果没有意外，JVM将会连续完成3个步骤，所以有时也把这个3个步骤统称为类加载或类初始化。

过程
加载

​   ...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-08</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E5%88%9B%E5%BB%BA/" rel="tag">创建</a>, <a class="tag-none-link" href="/blog/tags/%E5%8A%A0%E8%BD%BD/" rel="tag">加载</a>, <a class="tag-none-link" href="/blog/tags/%E6%A3%80%E6%B5%8B/" rel="tag">检测</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/08/java-class-loading/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/07/java-annotation/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/07/java-annotation/3_slavcostojanoski-sunsetlakeohridmacedonia.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/07/java-annotation/">注解</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            注解的概念
注解（Annotation），也叫元数据（Metadata），是Java5的新特性，JDK5引入了Metadata很容易的就能够调用Annotations。注解与类、接口、枚举在同一个层次，并可以应用于包、类型、构造方法、...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-07</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E5%8F%82%E6%95%B0/" rel="tag">参数</a>, <a class="tag-none-link" href="/blog/tags/%E5%91%A8%E6%9C%9F/" rel="tag">周期</a>, <a class="tag-none-link" href="/blog/tags/%E7%B1%BB%E5%9E%8B/" rel="tag">类型</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/07/java-annotation/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/06/java-reflect/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/06/java-reflect/1_slavcostojanoski-aftersunsetlakeohridmacedonia.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/06/java-reflect/">反射</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            什么叫java反射
Java反射是Java被视为动态（或准动态）语言的一个关键性质。

这个机制允许程序在运行时透过Reflection APIs取得任何一个已知名称的class的内部信息，包括其modifiers（诸如public,...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-06</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E5%8A%A8%E6%80%81/" rel="tag">动态</a>, <a class="tag-none-link" href="/blog/tags/%E5%AE%9E%E4%BE%8B/" rel="tag">实例</a>, <a class="tag-none-link" href="/blog/tags/%E6%9E%84%E9%80%A0/" rel="tag">构造</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/06/java-reflect/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/05/java-framework-annotations/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/05/java-framework-annotations/1_lukasz&milena-summertimepoland.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/05/java-framework-annotations/">框架注解</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            SpringBoot之常用注解
在spring boot中，摒弃了spring以往项目中大量繁琐的配置，遵循约定大于配置的原则，通过自身默认配置，极大的降低了项目搭建的复杂度。同样在spring boot中，大量注解的使用，使得代码看...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-05</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E5%AE%B9%E5%99%A8/" rel="tag">容器</a>, <a class="tag-none-link" href="/blog/tags/%E6%89%AB%E6%8F%8F/" rel="tag">扫描</a>, <a class="tag-none-link" href="/blog/tags/%E7%BB%84%E4%BB%B6/" rel="tag">组件</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/05/java-framework-annotations/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/04/java-basic-knowledge/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/04/java-basic-knowledge/1_swedishwinter.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/04/java-basic-knowledge/">基础知识</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            8种基本数据类型
关于Java的8种基本数据类型，其名称、位数、默认值、取值范围及示例如下表所示：




序号
数据类型
位数
默认值
取值范围
举例说明



1
byte(位)
8
0
-2^7 ~ +2^7-1
byte b ...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-04</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E4%BC%A0%E9%80%92/" rel="tag">传递</a>, <a class="tag-none-link" href="/blog/tags/%E5%8C%BA%E5%88%AB/" rel="tag">区别</a>, <a class="tag-none-link" href="/blog/tags/%E5%BC%82%E5%B8%B8/" rel="tag">异常</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/04/java-basic-knowledge/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
                
                    <article class="kratos-hentry clearfix">
                        <div class="kratos-entry-border-new clearfix">
                            
                            <div class="kratos-entry-thumb-new">
                                <a href="/blog/2021/02/03/java-object-oriented/">
                                    
                                        <img class="kratos-entry-thumb-new-img" src="/blog/2021/02/03/java-object-oriented/2_jamespoulsom-beachmorningriviera.jpg">
                                    
                                </a>
                            </div>
                            <div class="kratos-post-inner-new">
                                <header class="kratos-entry-header-new">
                                        <a class="label-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a>
                                    <h2 class="kratos-entry-title-new"><a href="/blog/2021/02/03/java-object-oriented/">面向对象</a>
                                </header>
                                <div class="kratos-entry-content-new">
                                    <p>
                                        
                                            面向对象的特征
java面向对象的三大特征是什么?封装、继承、多态。
封装把属性和方法隐藏起来，只保留一些对外的接口和外部进行交互。
继承子类继承父类的特征和行为，使得子类具有父类的非private属性和方法。
多态多态就是同一个接口...
                                        
                                    </p>
                                </div>
                            </div>
                            <footer class="kratos-post-meta-new">
                                <span class="pull-left">
                                    <a><i class="fa fa-calendar"></i></a><a>2021-02-03</a>
                                    <a><i class="fa fa-tags"></i></a>
                                    <a class="tag-none-link" href="/blog/tags/%E5%AE%9E%E4%BE%8B/" rel="tag">实例</a>, <a class="tag-none-link" href="/blog/tags/%E6%8A%BD%E8%B1%A1/" rel="tag">抽象</a>, <a class="tag-none-link" href="/blog/tags/%E6%8E%A5%E5%8F%A3/" rel="tag">接口</a>
                                </span>
                                <span class="pull-right">
                                    <a class="read-more" href="/blog/2021/02/03/java-object-oriented/" title="阅读全文">阅读全文<i class="fa fa-chevron-circle-right"></i></a>
                                </span>
                            </footer>
                        </div>
                    </article>
                
            
            
            
                <div class='text-center pagination'>
                <span class="page-number current">1</span><a class="page-number" href="/blog/page/2/">2</a><a class="page-number" href="/blog/page/3/">3</a><a class="page-number" href="/blog/page/4/">4</a><a class="extend next" rel="next" href="/blog/page/2/"><i class="fa fa-angle-right"></i></a>
                </div>
            
        </section>

        </div>
                
            <section id="kratos-widget-area" class="col-md-4 hidden-xs hidden-sm">
                
                    <aside id="krw-about" class="widget widget-kratos-about clearfix">
    
    <div class="photo-background"></div>
    <div class="photo-wrapper clearfix">
        <div class="photo-wrapper-tip text-center">
            <img class="about-photo" src="/blog/images/avatar.webp" />
        </div>
    </div>
    <div class="textwidget">
        
            <p class="text-center">Pursue excellence and success will follow.</p>
        
    </div>
</aside>
                
                    <!-- Moved to about.ejs -->
                
                    
  <aside id="krw-categories" class="widget widget-categories clearfix">
    <h4 class="widget-title"><i class="fa fa-folder"></i>分类目录</h4>
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/blog/categories/Java%E5%AD%A6%E4%B9%A0/">Java学习</a><span class="category-list-count">16</span></li><li class="category-list-item"><a class="category-list-link" href="/blog/categories/%E7%AC%AC%E4%B8%80%E6%AC%A1/">第一次</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/blog/categories/%E8%8B%B1%E8%AF%AD%E5%AD%A6%E4%B9%A0/">英语学习</a><span class="category-list-count">8</span></li><li class="category-list-item"><a class="category-list-link" href="/blog/categories/%E9%9F%B3%E4%B9%90%E7%A9%BA%E9%97%B4/">音乐空间</a><span class="category-list-count">3</span></li><li class="category-list-item"><a class="category-list-link" href="/blog/categories/%E9%A1%B9%E7%9B%AE%E7%BB%8F%E5%8E%86/">项目经历</a><span class="category-list-count">3</span></li></ul>
  </aside>


                
                    
  <aside id="krw-tags" class="widget widget-kratos-tags clearfix">
    <h4 class="widget-title"><i class="fa fa-tags"></i>标签聚合</h4>
      <div class="tag-clouds">
        <a href="/blog/tags/apility/" style="font-size: 0.6em;">apility</a> <a href="/blog/tags/bus/" style="font-size: 0.6em;">bus</a> <a href="/blog/tags/city/" style="font-size: 0.6em;">city</a> <a href="/blog/tags/comfort/" style="font-size: 0.6em;">comfort</a> <a href="/blog/tags/communication/" style="font-size: 0.6em;">communication</a> <a href="/blog/tags/contribute/" style="font-size: 0.6em;">contribute</a> <a href="/blog/tags/convenient/" style="font-size: 0.6em;">convenient</a> <a href="/blog/tags/develop/" style="font-size: 0.6em;">develop</a> <a href="/blog/tags/education/" style="font-size: 0.6em;">education</a> <a href="/blog/tags/enhance/" style="font-size: 0.6em;">enhance</a> <a href="/blog/tags/facility/" style="font-size: 0.6em;">facility</a> <a href="/blog/tags/flight/" style="font-size: 0.6em;">flight</a> <a href="/blog/tags/foreign/" style="font-size: 0.6em;">foreign</a> <a href="/blog/tags/free/" style="font-size: 0.6em;">free</a> <a href="/blog/tags/hello/" style="font-size: 0.6em;">hello</a> <a href="/blog/tags/improve/" style="font-size: 0.8em;">improve</a> <a href="/blog/tags/information/" style="font-size: 0.6em;">information</a> <a href="/blog/tags/invest/" style="font-size: 0.6em;">invest</a>
      </div>
  </aside>

                
                    
  <aside id="krw-posts" class="widget widget-kratos-poststab">
  <h4 class="widget-title"><i class="fa fa-file"></i>最新文章</h4>
  <div class="tab-content">
      <ul class="list-group">
        
        
          
          
            <a class="list-group-item" href="/blog/2021/02/12/java-dynamic-proxy/"><i class="fa  fa-book"></i> 动态代理</a>
            
          
        
          
          
            <a class="list-group-item" href="/blog/2021/02/12/java-constructor/"><i class="fa  fa-book"></i> 构造器的注入与使用</a>
            
          
        
          
          
            <a class="list-group-item" href="/blog/2021/02/12/java-ioc-di/"><i class="fa  fa-book"></i> 控制反转与依赖注入</a>
            
          
        
          
          
            <a class="list-group-item" href="/blog/2021/02/09/java-io-stream/"><i class="fa  fa-book"></i> 输入输出流</a>
            
          
        
          
          
            <a class="list-group-item" href="/blog/2021/02/08/java-class-loading/"><i class="fa  fa-book"></i> 类加载</a>
            
          
        
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
          
            
      </ul>
  </div>
  </aside>

                
            </section>
        
        </div>
    </div>
</div>
<footer>
    <div id="footer">
        <div class="kr-tool text-center">
            <div class="tool">
                
                    <div class="box search-box">
                        <a href="/blog/search/">
                            <span class="fa fa-search"></span>
                        </a>
                    </div>
                
                
                    <div class="box theme-box" id="darkmode-switch">
                        <span class="fa fa-adjust"></span>
                    </div>
                
                
            </div>
            <div class="box gotop-box">
                <span class="fa fa-chevron-up"></span>
            </div>
        </div>
        <div class="container">
            <div class="row">
                <div class="col-md-6 col-md-offset-3 footer-list text-center">
                    <ul class="kratos-social-icons">
                        
                        
                        <li><a target="_blank" rel="nofollow" href="https://t.me/CandyUnion"><i class="fa fa-telegram"></i></a></li>
                        <li><a target="_blank" rel="nofollow" href="https://twitter.com/Candiinya"><i class="fa fa-twitter"></i></a></li>
                        
                        
                        
                        <li><a target="_blank" rel="nofollow" href="https://github.com/yongkj"><i class="fa fa-github"></i></a></li>
                        <li><a target="_blank" rel="nofollow" href="/blog/atom.xml"><i class="fa fa-rss"></i></a></li>
                    </ul>
                    <ul class="kratos-copyright">
                        <div>
                            <li>&copy; 2021 yongkj 版权所有.</li>
                            <li>本站已运行<span id="span_dt">Loading...</span></li>
                        </div>
                        <div>
                            <li>Theme <a href="https://github.com/Candinya/Kratos-Rebirth" target="_blank">Kratos:Rebirth</a></li>
                            <li>Made with&nbsp;<i class="fa fa-heart throb" style="color:#d43f57"></i>&nbsp;by <a href="https://candinya.com" target="_blank" rel="nofollow">Candinya</a>.</li>
                        </div>
                        <div>
                            <li>Powered by <a href="https://hexo.io" target="_blank" rel="nofollow">Hexo</a></li>
                            <li>Hosted on <a href="https://www.yongkj.cn" target="_blank">勇往直前</a></li>
                        </div>
                        <div>
                            
                            
                        </div>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</footer>
</div>
</div>

        <script defer src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.4/dist/js/bootstrap.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/nprogress@0.2.0/nprogress.js"></script>
<script>const notMobile = (!(navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)));</script>

    <div>
        <canvas id="snow"></canvas>
        <script async type="text/javascript" src="/blog/js/snow.min.js"></script>
    </div>

<script async src="/blog/js/candy.min.js"></script>


    <script defer src="https://cdn.jsdelivr.net/gh/fancyapps/fancybox@3.5.7/dist/jquery.fancybox.min.js"></script>

<script defer src="https://cdn.jsdelivr.net/npm/clipboard@2.0.6/dist/clipboard.min.js"></script>
<script defer src="/blog/js/kratosr.min.js"></script>
<script defer src="/blog/js/pjax.min.js"></script>


    <script defer src="/blog/js/kr-dark.min.js"></script>



    </body>
</html>